<?php
class AGiroCliente {

	public function __construct() {
	}

	public function actualizarCliente(EFacade & $facade) {
		
		$ezpdo_=getManager();
		$session=$facade->session;
		$docFP = & $facade->getDocumentRoot();
		$workflowFP = & $docFP->getWorkflowRef();
		$facade->session->refresh($workflowFP);
		$transSetFP = & EFacade :: getCurrentTransSetAuto($workflowFP, /* AGENT */	2);
		$transFP = & $transSetFP->getTransByName('t4');
		$user=NULL;
		$facade->fireTrans($transFP, $user, 'Actualizar', FALSE);
		$workflowFP->epSetDirty(TRUE);
		$docFP->epSetDirty(TRUE);
		$facade->saveWorkflow();
	}
}
?>